package com.zhuozhou.jdyc.main.menu.fragment;

import android.os.Bundle;
import android.view.View;

import com.zhuozhou.jdyc.R;
import com.zhuozhou.jdyc.base.BaseFragment;
import com.zhuozhou.jdyc.databinding.ActivityTestBinding;
import com.zhuozhou.jdyc.main.main.viewmodel.MainViewModel;
import com.zhuozhou.jdyc.main.menu.viewmodel.TestViewModel;

/**
 * Create by CherishTang on 2020/3/27 0027
 * describe:
 */
public class TestFragment extends BaseFragment<TestViewModel, ActivityTestBinding> {
    @Override
    protected int getLayoutId() {
        return R.layout.activity_test;
    }

    @Override
    protected void initView(View view, Bundle savedInstanceState) {
    }

    @Override
    protected void initData(Bundle bundle) {
        binding.tvTest.setText("这是"+bundle.getInt(MainViewModel.ARG_PAGE,0)+"个页面");
    }
}
